<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

	<h:head>
        <title>  Sistema Transgressao Cambial</title>
        <h:outputStylesheet library="css" name="theme.css" />
        <style type="text/css">
            

            .style3 {color: #000000}
            .style4 {color: #548CE9}
        </style>
    </h:head>
    <h:body>
        <h:form>
            <table width="975" height="130" border="0"  align="center">
                <tr>
                    <td height="131" colspan="5"><div id="Header">
                    <h:graphicImage library="imagemSite" name="headerBna.png" height="130" width="975" />
                    </div></td>
                </tr>
            </table>
            <table width="975" height="34" border="0"  align="center">
                <tr>
                    <td width="975" height="34" ><div id="botao1">
                            <p:menubar autoSubmenuDisplay="true">
                               <p:submenu  >
                                    <f:facet name="label">
                                        <p:menuitem  value="Pagina Principal" icon="/resources/imagemSite/home.png" url="/index.xhtml"  />
                                    </f:facet>
                                </p:submenu>
                                 <p:submenu  >
                                    <f:facet name="label">
                                        <p:menuitem  value="Aplicativo" icon="/resources/imagemSite/ferramentas.png" />
                                    </f:facet>
                                    <p:menuitem value="Sistema Transgressao Cambial" url="/Transgressao/listaProcesso.xhtml" />
                                    
                                </p:submenu>
                               
                            </p:menubar>
                        </div></td>
                </tr>
            </table>
            <table width="975"  height="200" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE">
                <tr>
                    <td width="975" height="400"  valign="top"  >
                        <p:divider ></p:divider>
                        

                        <p:panel  header="Apagar Transgressor"   styleClass="ui-wijmenu2" >
                            <h:panelGrid columns="3" >
                                
                                <h:outputText value="Nome" />
                                <h:inputText value="#{transgressor.transgressorEntity.nome}"
                                             required="true" id="nome"
                                             requiredMessage="Preencha o campo 'Nome'"  disabled="true"  />
                                <p:message for="nome"  />
  
                                 <h:outputText value="Nacionalidade" />
                                <h:inputText value="#{transgressor.transgressorEntity.nacionalidade}"
                                             required="false" id="nacionalidade"
                                             requiredMessage="Preencha o campo 'Nacionalidade'" disabled="true"  />                                           
                                <p:message for="nacionalidade"  />
 
                               <h:outputText value="Data de Nascimento" />
                                <p:calendar value="#{transgressor.transgressorEntity.dataNascimento}"
                                             required="false" id="dataNascimento" showOn="button"
                                             requiredMessage="Preencha o campo 'Data de Nascimento'" disabled="true"  />                                             
                                <p:message for="dataNascimento"  />
                                 
                                <h:outputText value="Telefone" />
                                <h:inputText value="#{transgressor.transgressorEntity.telefone}"
                                             required="false" id="telefone"
                                             requiredMessage="Preencha o campo 'Telefone'" disabled="true" />
                                <p:message for="telefone"  />

                             <h:outputText value="Endereco" />
                                <h:inputText value="#{transgressor.transgressorEntity.endereco}"
                                             required="false" id="endereco"
                                             requiredMessage="Preencha o campo 'Endereco'" disabled="true" />
                                <p:message for="endereco"  />
 
                               <h:outputText value="Nº BI/Passaporte" />
                                <h:inputText value="#{transgressor.transgressorEntity.localizacaoCarta}"
                                             required="false" id="localizacao"
                                             requiredMessage="Preencha o campo 'Nº BI/Passaporte'" disabled="true" />
                                 <p:message for="localizacao"  />
                                 
                                  <h:outputText value="Procurador " />
                                <h:inputText value="#{transgressor.transgressorEntity.procurador}"
                                             required="false" id="procurador" disabled="true"
                                             requiredMessage="Preencha o campo 'Procurador'" />
                                             <p:message for="procurador"  />
                                             
                                              <h:outputText value="Representante " />
                                <h:inputText value="#{transgressor.transgressorEntity.nomerepresentante}"
                                             required="false" id="representante" disabled="true"
                                             requiredMessage="Preencha o campo 'Representante'" />
                                             <p:message for="representante"  />
                                                      
                                          
                            </h:panelGrid>
                            <h:commandButton value="Apagar" action="#{transgressor.apagarTransgressor}" />
                            <h:commandButton  value="Cancelar" action="listaTransgressor" immediate="true" />

                        </p:panel>
                        <p:divider  ></p:divider>
					<p:commandButton value="Visualizar Processo" action="listaProcesso"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Estado Processo" action="listaProcessoEstado"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Transgressor" action="listaTransgressor"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Multa Transgressor" action="listaExtensaoProcesso"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Desconto" action="listaBoleanDesconto"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Recurso" action="listaRecurso"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Moeda" action="listaTipoMoeda"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Notificacao" action="listaTipoNotificacao"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                        <p:commandButton value="Visualizar Percentagem Multa" action="listaMulta"   styleClass="ui-wijmenu" immediate="true"  ajax="false" disabled="false"  />
                    </td>
                </tr>
            </table>
        </h:form>
    </h:body>
</html>